/*
 * @Description: 产品管理
 * @Author: Wang ZhongWang
 * @Date: 2022-02-20 10:11:35
 * @LastEditTime: 2022-02-20 10:49:55
 * @LastEditors: Wang ZhongWang
 */

import request from '@/utils/request'

/**
 * 分页查询
 * @param query
 */
export function getListPage(query) {
  return request({
    url: '/winglinks/link/productServices/list',
    method: 'get',
    params: query
  })
}

export function getList(query) {
  return request({
    url: '/winglinks/link/productServices/selectAll',
    method: 'get',
    params: query
  })
}

export function getServiceById(id) {
  return request({
    url: '/winglinks/link/productServices/' + id,
    method: 'get'
  })
}

export function getServicesByProductIdentification(productIdentification) {
  return request({
    url: '/winglinks/link/productServices/selectAllByProductIdentification/' + productIdentification,
    method: 'get'
  })
}

